﻿#ifndef MAINFRAME_H
#define MAINFRAME_H

#include "image_push_button.h"
#include "dragable_shadow_widget.h"

namespace Ui
{
    class MainFrame;
}
class SystemMenu;

class MainFrame : public DragableShadowWidget
{
    Q_OBJECT

public:

    explicit MainFrame(QWidget *parent = 0);
    ~MainFrame();

private:

    Ui::MainFrame *ui;
    SystemMenu *m_sysmenu;

    void initUI();
    void createConnections();

private slots:

    void onMinBtnClicked();
    void onMaxBtnClicked();
    void onRestoreBtnClicked();
    void onCloseBtnClicked();
    void onSysMenuBtnClicked();
    void onTransmitListBtnClicked();
    void onNavButtonToggled(int, bool);
    void switchPage(int page_index);
};

#endif // MAINFRAME_H
